import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;

import static jdk.nashorn.internal.objects.NativeArray.reverse;

public class Test {
    public static void main(String[] args) {
        /*int num  = 10;
        String s = num+"";
        System.out.println(s);
        String str = String.valueOf(num);
        int n = Integer.valueOf(str);

        int num = 1;
        while(num<=10){
            System.out.println(num);
            num++;
        }

        int n = 1;
        int sum = 0;
        while(n<=100){
            sum+= n;
            n++;
        }
        System.out.println(sum);


        int n = 1;
        int ret = 1;
        while(n<=5){
            ret *= n;
            n++;
        }

         */
      /*  int sum = 0;

        for(int i = 1;i<=5;i++) {
            int ret = 1;
            for(int j = 1;j<=i;j++){
                 ret *=j;

            }
            sum+=ret;
        }
        Scanner sc =  new Scanner(System.in);
        String name = sc.nextLine();

       */
        /*Random random = new Random();
        Scanner sc = new Scanner(System.in);
        int toGuess = random.nextInt(100);
        while(true)
        {
            System.out.println("请输入要输入的数字：（1-100）");
            int num = sc.nextInt();
            if(num<toGuess){
                System.out.println("猜小了");
            }else if(num>toGuess){
                System.out.println("猜大了");
            }else{
                System.out.println("猜对了");
                break;
            }
        }
        sc.close();

        int a = 10;
        int b = 20;
        int ret = add(a,b);
        System.out.println(ret);
    }
        public static  int add(int a,int b){
          return a+b;
        }


        int sum = 0;
        for(int i = 1;i<=5;i++){
            sum += factor(i);
        }
        System.out.println(sum);
    }

    public static int factor(int n) {
        int ret = 1;
        for(int i = 1;i<= n;i++){
            ret *= i;
        }
        return  ret;


        int a = 10;
        int b = 20;
        int ret = add(a, b);
        System.out.println("ret = " + ret);
        double a2 = 10.5;
        double b2 = 20.5;
        double ret2 = add(a2, b2);
        System.out.println("ret2 = " + ret2);
    }
    public static int add(int x, int y) {
        return x + y;


        int a = 10;
        int b = 20;
        int ret = add(a,b);
        System.out.println(ret);
        double a2 = 10.5;
        double b2 = 20.5;
        double ret2 = add(a2,b2);
        System.out.println(ret2);
        double a3 = 10.5;
        double b3 = 10.5;
        double ret3 = add(a3,b3,c3);
        System.out.println(ret3);

    }

    public static int add(int a,int b) {
        return a+b;
    }
    public static double add(double a,double b,double c) {
        return a+b+c;
    }
    public static double add(double a,double b) {
        return a+b;


        int[] arr = {1,2,3,4,5};
        String numArr = Arrays.toString(arr);
        System.out.println(numArr);


         */
      /*  int[] arr  = {1,2,3,4,45};
        String ret = "[";
        for(int i = 0;i<arr.length;i++){
            ret+=arr[i];
            if(i!= arr.length-1){
                ret+=", ";
            }
            ret += "]";

        }

        int[] arr = {1,2,3,4,5,6};
        int[] newArr = Arrays.copyOfRange(arr,0,4);
        System.out.println("newArr:"+Arrays.toString(newArr));


        int[] arr = {1,2,3,4};
        int[] ret = new int[arr.length];
        for(int i =0;i<arr.length;i++){
            ret[i] = arr[i];
        }


        int[] arr = {1,2,3,4,5,6};
        System.out.println(binarySearch(arr,6));
    }

    public static int binarySearch(int[] arr,int tofind) {
        int left = 0;
        int right = arr.length-1;

        while(left<=right){
            int mid =(left+right)/2;
            if(tofind<arr[mid]){
                right = mid-1;
            }else if()
        }


        int[] arr = {9,5,7,2};
        bubbleSort(arr);
        System.out.println(Arrays.toString(arr));

    }

    public static void bubbleSort(int[] arr) {
        for(int i = 0;i<arr.length-1;i++){
            for(int j = 0;j<arr.length-1-i;j++){
                if(arr[j]>arr[j+1]){
                    int temp  = arr[j];
                    arr[j] = arr[j+1];
                    arr[j+1] = temp;
                }
            }
        }


        int[] arr = {1,2,3,4};
        reverse(arr);
        System.out.println(Arrays.toString(arr));



       */
        Person person = new Person();
        System.out.println(person.name.length());
    }

}
class Person {
    public String name;
    public int age;
    public Person(String name,int age){

    }
    public void show(){
        System.out.println();
    }
}

class Main1{

    public static void main(String[] args) {
        new Person("caocao",19).show();
    }
}


